<?
include('custom/charactertabs.php');

function filter_callback_equipped(&$invDS)
{
  return($invDS['i_type'] == 'wearable' && $invDS['iv_on'] == 'Y');
}
function filter_callback_notequipped(&$invDS)
{
  return($invDS['i_type'] == 'wearable' && $invDS['iv_on'] != 'Y');
}

?>
<table width="100%">
  <tr>
    <td valign="top" width="50%"><?
      $filterCallback = 'filter_callback_equipped';
      include('custom/character.index.inventory.php');
    ?></td>
    <td valign="top" width="50%"><?
      $filterCallback = 'filter_callback_notequipped';
      include('custom/character.index.inventory.php');
    ?></td>
  </tr>
</table>